package sysmgr.bean;

import java.io.Serializable;
import java.util.Date;

public class BookCommodity implements Serializable {
    private int id;
    private String bookname;
    private Date pubdate;
    private String picture;
    private int price;
    private int star;
    private String info;
    private int typeid;

    public BookCommodity() {

    }

    public BookCommodity(int id, String bookname, Date pubdate, String picture, int price, int star, String info, int typeid) {
        this.id = id;
        this.bookname = bookname;
        this.pubdate = pubdate;
        this.picture = picture;
        this.price = price;
        this.star = star;
        this.info = info;
        this.typeid = typeid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public Date getPubdate() {
        return pubdate;
    }

    public void setPubdate(Date pubdate) {
        this.pubdate = pubdate;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getTypeid() {
        return typeid;
    }

    public void setTypeid(int typeid) {
        this.typeid = typeid;
    }
}
